package study.proxy.myproxy.staticproxy;

public class IdentifyProxy {

    private Object idConfirm;

    public IdentifyProxy(Object idConfirm) {
        this.idConfirm = idConfirm;
    }

    public boolean doIdentiry(String appKey){
        IdConfirm id = (IdConfirm)idConfirm;

        String apply = id.apply();
        apply = apply+appKey;
       return  id.doIdentify(apply);


    }
}
